//
//  AppointmentViewController.h
//  ICrEAM
//
//  Created by mac on 16/10/24.
//  Copyright © 2016年 mac. All rights reserved.
//

#import "SuperViewController.h"
#import "MonitorViewController.h"
#import "ICMCustomerAndCarViewController.h"
#import "ICMAppointmentBasicInfoView.h"
#import "ICMAppointmentActivityView.h"
#import "ICMAppointmentMaintenanceAndPartsView.h"
#import "ICMBasicInfoModel.h"
#import "ICMRepairMaintenanceModel.h"
#import "ICMActivityModel.h"
#import "ICMPartsTopModel.h"
#import "ICMRepairPartsModel.h"
#import "ICMAppointmentOtherInfoModel.h"
#import "ICMAppointmentBasicInfoModel.h"
#import "ICMPersonerModel.h"
@interface AppointmentViewController : SuperViewController<UIAlertViewDelegate>
//是否编辑模式
@property (nonatomic, assign) BOOL isEditType;
//是否预约编辑模式
@property (nonatomic, assign) BOOL isAppointmentType;
//预约单号
@property (nonatomic, copy) NSString *appointmentNumber;
//是否已经保存
@property (nonatomic, assign) BOOL isSave;


@property (nonatomic, strong) ICMAppointmentBasicInfoView *basicInfoView;
@property (nonatomic, strong) ICMAppointmentBasicInfoModel *basicInfoModel;
@property (nonatomic, strong) ICMAppointmentOtherInfoModel *basicOtherModel;
@property (nonatomic, strong) ICMPartsTopModel *partsTopModel;
@property (nonatomic, strong) ICMPersonerModel *personerModel;

//最初
@property (nonatomic, strong) ICMAppointmentBasicInfoModel *basicInfoModelPrimary;
@property (nonatomic, strong) ICMAppointmentOtherInfoModel *basicOtherModelPrimary;
@property (nonatomic, strong) ICMPartsTopModel *partsTopModelPrimary;

@property (nonatomic, strong) ICMAppointmentActivityView *activityView;
@property (nonatomic, strong) ICMActivityItemModel *activityItemModel;

//最初
@property (nonatomic, strong) ICMActivityItemModel *activityItemModelPrimary;

@property (nonatomic, strong) ICMAppointmentMaintenanceAndPartsView *partsView;
@property (nonatomic, strong) ICMRepairMaintenancesModel *maintenancesModel;
@property (nonatomic, strong) ICMRepairPartsArrayModel *partsArrayModel;

//最初
@property (nonatomic, strong) ICMRepairMaintenancesModel *maintenancesModelPrimary;
@property (nonatomic, strong) ICMRepairPartsArrayModel *partsArrayModelPrimary;

//获取所有页面当中的数据保存到model当中
- (void)getAllDataModels;

@property (nonatomic, strong) UIView *blankView;
@property (nonatomic, strong) NSMutableArray *selectedRepairTypes;

@property (nonatomic, assign) BOOL haveShowActivity;//是否查看了活动
//@property (nonatomic, strong) UIAlertView *showActivityAlert;


//活动获取需要的VIN码
@property (nonatomic, strong) NSMutableArray *VIN_FOR_ACTIVITY;
@property(nonatomic,assign)BOOL isRetainer;

@end
